--TEST--
swoole_coroutine: coro channel select timeout
--SKIPIF--
<?php require __DIR__ . "/../../include/skipif.inc"; ?>
--FILE--
<?php
require_once __DIR__ . "/../../include/swoole.inc";

use Swoole\Coroutine as co;

$chan = new co\Channel(1);

go(function () use ($chan) {
    $read_list = [$chan];
    $write_list = null;
    $result = chan::select($read_list, $write_list, 0.1);
    assert($result == false);
});

swoole_event::wait();
?>
--EXPECT--
